<?php
	class TestAction extends Action{
		public function show(){
			$model = M('Users');
			$data['id'] = 1;
			$list = $model -> where($data)->find();

			//命令视图显示
			//@1 视图层使用什么名字接收
			// 把什么数据分配过去
			$this->assign('list',$list);
			$this->display();
		}
	
	
	}


?>